package com.mindskip.xzs.service;

import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.Klass;
import com.mindskip.xzs.domain.Subject;
import com.mindskip.xzs.viewmodel.admin.klass.KlassPageRequestVM;
import com.mindskip.xzs.viewmodel.admin.klass.KlassResponseVM;

import java.util.List;

public interface KlassService extends BaseService<Klass>{
    /**
     * 查询全部班级
     * @return
     */
    List<Klass> allKlass();

    /**
     * 分页
     */
    PageInfo<Klass> page(KlassPageRequestVM model);


    void addKlass(Integer id, String token);
}
